package com.zhang.infrastructure.model.constant.redis;

/**
 * @author zhangFanJun
 * @date 2023-12-06 23:11
 **/
public class RedisConstant {

    private RedisConstant() {
        throw new IllegalStateException("Utility class");
    }

    /**
     * 组织中心
     * */
    public static final String AUTH = "business_authority:auth";
    public static final String AUTH_PREFIX = "business_authority:auth:";
    public static final String USERNAME_PREFIX = "business_authority:username:";
    public static final String OPEN_ACCOUNT_PREFIX = "business_authority:open:account:";
    public static final String LOGOUT_PREFIX = "business_authority:logout:";
    public static final String LOCK_UPLOAD_PRODUCT = "business_authority:lock_upload_product";
    public static final String LOCK_UPLOAD_PRODUCT_SKU = "business_authority:lock_upload_product_sku";
    public static final String AUTH_TOKEN_PREFIX = "business_center:auth:token:";
    public static final String TOKEN_PREFIX = "business_center:token:";

    /**
     * 商品中心
     * */
    public static final String OPERATION_VERSION_PRODUCT = "business_product:version_product";
    public static final String OPERATION_VERSION_ATTRIBUTE = "business_product:version_attribute";
    public static final String OPERATION_VERSION_BRAND = "business_product:version_brand";
    public static final String OPERATION_VERSION_CATEGORY = "business_product:version_category";
    public static final String OPERATION_VERSION_GOODS = "business_product:version_goods";

}
